import Layout from '@/layout/index.vue'
import TestList from '@/views/test/List.vue'
import TestCategory from '@/views/test/Category.vue'
export default {
  path: '/test',
  component: Layout,
  name: 'test',
  meta: { weight: 5, title: '测验管理', open: true },
  children: [
    {
      path: '/test/list',
      name: 'test-list',
      component: TestList,
      meta: {
        title: '测验列表',
        addtab: true,
        keepalive: 'TestList'
      }
    },
    {
      path: '/test/category',
      name: 'test-category',
      component: TestCategory,
      meta: {
        title: '测验分类',
        addtab: true,
        keepalive: 'TestCategory'
      }
    }
  ]
}
